package com.csun.dsms.service;

import com.csun.dsms.comment.core.support.IService;
import com.csun.dsms.model.domain.DsmsArea;
import com.csun.dsms.model.domain.YcDevice;
import com.csun.dsms.model.vo.AreaUnitVo;

import java.util.List;

public interface YcDeviceService extends IService<YcDevice> {
    /*
     * 添加设备
     * */
    Integer addDevice(YcDevice ycDevice);
    /*
     * 设备查询
     * 根据type查询
     * 根据工厂查询 company
     * 根据编号查询 no
     * */
    List<YcDevice> query(YcDevice ycDevice);
    /*
     * 删除设备
     * */
    Integer deleteDevice(Long id);

    //设置绑定人 修改公司等
    Integer updateDevice(YcDevice ycDevice);

}
